package a06oopextendsDemo;

public class cook extends Employee{

    public cook() {
    }

    public cook(String name, String id, double salary) {
        super(name, id, salary);
    }
    @Override
    public void work(){
        System.out.println("厨师"+getName()+"正在炒菜");
    }
}
